import request from '@/utils/request'

export function list(query) {
  return request({
    url: '/system/beiDiao/list',
    method: 'get',
    params: query
  })
}

export function addLook(data) {
  return request({
    url: '/system/beiDiao/addLook',
    method: 'post',
    data: data
  })
}

export function product() {
  return request({
    url: '/system/beiDiao/product',
    method: 'get'
  })
}

export function offlineAuth(data) {
  return request({
    url: '/system/beiDiao/offlineAuth',
    method: 'post',
    data: data
  })
}

export function elecAuth(data) {
  return request({
    url: '/system/beiDiao/elecAuth',
    method: 'post',
    data: data
  })
}

export function reportHead(orderNo) {
  return request({
    url: '/system/beiDiao/reportHead/'+orderNo,
    method: 'get'
  })
}

export function report(id) {
  return request({
    url: '/system/beiDiao/report/'+id,
    method: 'get'
  })
}

export function lookAuthImg(orderNo) {
  return request({
    url: '/system/beiDiao/lookAuthImg?orderNo='+orderNo,
    method: 'get'
  })
}

export function fvBack(orderNo) {
  return request({
    url: '/system/beiDiao/fvBack/'+orderNo,
    method: 'get'
  })
}

export function checkAuth(query) {
  return request({
    url: '/user/checkAuth',
    method: 'get',
    params: query
  })
}














